package com.hnbtr.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Attendance {
	private Integer id;
	private Integer teach_lesson_hour;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date start_time;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date end_time;
	private Integer teacher_id;
	private Integer class_id;
	private Integer institution_id;
	private Teacher teacher;
	private Class cls;
	private Institution institution;
	private int del_status;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getTeach_lesson_hour() {
		return teach_lesson_hour;
	}
	public void setTeach_lesson_hour(Integer teach_lesson_hour) {
		this.teach_lesson_hour = teach_lesson_hour;
	}
	public Date getStart_time() {
		return start_time;
	}
	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}
	public Date getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}
	public Integer getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(Integer teacher_id) {
		this.teacher_id = teacher_id;
	}
	public Integer getClass_id() {
		return class_id;
	}
	public void setClass_id(Integer class_id) {
		this.class_id = class_id;
	}
	public Integer getInstitution_id() {
		return institution_id;
	}
	public void setInstitution_id(Integer institution_id) {
		this.institution_id = institution_id;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public Class getCls() {
		return cls;
	}
	public void setCls(Class cls) {
		this.cls = cls;
	}
	public Institution getInstitution() {
		return institution;
	}
	public void setInstitution(Institution institution) {
		this.institution = institution;
	}
	public int getDel_status() {
		return del_status;
	}
	public void setDel_status(int del_status) {
		this.del_status = del_status;
	}
	@Override
	public String toString() {
		return "Attendance [id=" + id + ", teach_lesson_hour=" + teach_lesson_hour + ", start_time=" + start_time
				+ ", end_time=" + end_time + ", teacher_id=" + teacher_id + ", class_id=" + class_id
				+ ", institution_id=" + institution_id + ", teacher=" + teacher + ", cls=" + cls + ", institution="
				+ institution + ", del_status=" + del_status + "]";
	}
}
